package com.telit.firecommand.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;


@Data
public class FireMsgVO implements Serializable {

    /**
     * 接警时间
     */
    @ApiModelProperty(value="接警时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date recieveTime;

    @ApiModelProperty(value = "火情id")
    private Long fireId;

    @ApiModelProperty(value = "火情所在的行政区划code")
    @NotNull(message = "火情所在的行政区划code不能为空")
    private String fireDistrictCode;

    @ApiModelProperty(value = "转交状态 1 转交   2 上报")
    private Long transferStatus;


    @ApiModelProperty(value = "火情状态")
    private String status;

//    @ApiModelProperty(value = "火情所在的行政区划code")
//    private String fireAdressCode;

    @ApiModelProperty(value = "经度")
    private String longitude;

    @ApiModelProperty(value = "纬度")
    private String latitude;

}